package com.uzhie.spring;

import java.lang.reflect.Method;

/**
 * Created by Coder on 2018/7/12.
 * Spring 容器加载的bean
 */
public class HttpClassMethod<T> {

    // bean实例
    private T clazzIns;
    // bean实例中注解requestMapping的方法
    private Method method;

    public HttpClassMethod() {
    }

    public HttpClassMethod(T clazzIns, Method method) {
        this.clazzIns = clazzIns;
        this.method = method;
    }

    public T getClazzIns() {
        return clazzIns;
    }

    public void setClazzIns(T clazzIns) {
        this.clazzIns = clazzIns;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }
}
